#ifndef _SSBTC_SENTENCE_H
#define _SSBTC_SENTENCE_H

#include "sentence.h"
#include <vector>
#include <ctime>

class SSBTC_Sentence
{
public:
	std::vector<sentence>				m_sentences;
	std::vector<int>				m_centers;
	std::vector<std::vector<int>>			m_CenterEl;
public:
	SSBTC_Sentence(void);
	virtual ~SSBTC_Sentence(void);
	void initSen(int);
	void initCen(int);
	sentence& operator[](int);
	void debug_printf();
	int size();
	void clearCenters();
	void clearEL();
	int setClusterId(int, int);
	int getClusterId(int);

	int getCenterNum(int ClusterId);
	int getCenter(int ClusterId);
	int setCenter(int index, int ClusterId);

	int getMostCenter(int ClusterId);
	int getRandomCenter(int ClusterId);
	bool operator==(const SSBTC_Sentence &t1)const;
	int getFirstChild(sentence&);
	int getNextChild(sentence&, int);
	bool setSenStr(int index, std::string strSen);
	bool getSenStr(int index, std::string& strSen);
	bool totaleq(const SSBTC_Sentence &t1)const;

};


#endif